package cn.huang.dao;

import cn.huang.pojo.OrderSetting;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

public interface OrderSettingDao{

    //添加操作
    void add(OrderSetting orderSetting);

    //更新操作
    void editNumberByOrderDate(OrderSetting orderSetting);

    //根据日期统计数量
    long findCountByOrderDate(Date orderDate);

    //根据月份查询对应的预约设置数据
    List<OrderSetting> getOrderSettingByMonth(HashMap<String, String> map);

    //根据日期查询预约设置信息
    OrderSetting findByOrderDate(Date orderDate);

    //根据预约日期更新已预约人数
    void editReservationsByOrderDate(OrderSetting orderSetting);


}
